package com.example.emos.wx.user.model.form;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 用户注册表单类
 *
 * @Author YinXi
 * @Versin 1.0.0
 * @Date 2023/8/5
 */
@Data
@ApiModel
public class RegisterForm {
    @Pattern(regexp = "^[0-9]{6}$", message = "注册码必须是6位数字")
    private String registerCode;

    private String code;

    private String nickname;

    private String photo;
}
